<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@include file="/WEB-INF/jsp/common/head.jsp" %>
<div class="right">
    <div class="location">
        <strong>当前位置:</strong>
        <span>用户管理页面 >> 用户查看详情页面</span>
    </div>
    <div class="supplierView">
        <p><strong>用户编号：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>${sysUser.account }</span></p>
        <p><strong>账号：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>${sysUser.realName }</span></p>
        <p><strong>性别：</strong>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <span>
            		<c:if test="${sysUser.sex == 1 }">女</c:if>
					<c:if test="${sysUser.sex == 2 }">男</c:if>
				</span>
        </p>
        <p><strong>出生日期：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span><fmt:formatDate
                value="${sysUser.birthday}" pattern="yyyy-MM-dd"/></span></p>
        <p><strong>手机号码：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>${sysUser.phone}</span></p>
        <p><strong>地址：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>${sysUser.address}</span></p>
        <p><strong>角色：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>${sysUser.sysRole.roleName}</span>
        </p>
        <p><strong>证件照：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>
            <c:choose>
                <c:when test="/upload/${sysUser.idPice == null || sysUser.idPice == ''}">
                    暂无
                </c:when>
                <c:otherwise>
                    <img src="/upload/${sysUser.idPice}" width="100" height="100"/>
                </c:otherwise>
            </c:choose>
            </span></p>
        <p><strong>工作证照片：</strong>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span>
            <c:choose>
                <c:when test="/upload/${sysUser.workPice == null || sysUser.workPice == ''}">
                    暂无
                </c:when>
                <c:otherwise>
                    <img src="/upload/${sysUser.workPice}" width="100" height="100"/>
                </c:otherwise>
            </c:choose>
            </span></p>
        <div class="supplierAddBtn">
            <input type="button" id="back" name="back" value="返回">
        </div>
    </div>
</div>
</section>
<%@include file="/WEB-INF/jsp/common/foot.jsp" %>
<script type="text/javascript" src="${pageContext.request.contextPath }/statics/js/sysUser/view.js"></script>